{temp('html/recruit/pc/head')}

	<script type="text/javascript">
      window.document.onkeydown=function(){
			if(window.event.keyCode==27){
			 	art.dialog.close();
			}
		}
      
      function bc(id,uid){
    	  var jstime = $("#jstime").val();
    	  var issue = $("input:radio[name=issue]:checked").val();
    	  $.post('{$_url}/?act=job&met=zjgw_tzfb',{jstime:jstime,issue:issue,id:id,uid:uid,type:1},function(data){
    		 	alert(data);
				if(data == '修改成功'){
					top.location.href='{$_url}/?act=job&met=zjgw_gl';
				}
    		});
    	  
      }
	</script>
</head>
<body style="background-color:#FFF">
{if(@$cz)}
	<div class="w_460 h_360 bc_FFF bor_137ABF">
		<div class="w_bai h_40 bc_137ABF l_h40">
			<div class="f_l l_m20 c_FFF">修改职位状态</div>
			<div class="f_r r_m20 t_m12 close2" onClick="closeWindow()"></div>
		</div>
		<div class="w_bai t_m30 c_656565 dis_inline">
			<div class="f_l l_m55">&nbsp;职位名称</div>
			<div class="f_l l_m10">{if(@$cz['name'])}{$cz['name']}{/if}</div>
		</div>
		<div class="w_bai t_m30 c_656565 dis_inline">
			<div class="f_l l_m45">原截止日期</div>
			<div class="f_l l_m10">{code(echo date('Y-m-d H:i',$cz['jstime']))}</div>
		</div>
		<div class="w_bai t_m20 dis_inline">
			<div class="f_l t_m8 l_m45">
				<span class="c_656565">新截止日期</span>
			</div>
			<div class="f_l" style="margin-left:10px!important;margin-left:5px">
				<input class="Wdate" type="text"  id="jstime" 
	              onfocus="WdatePicker({firstDayOfWeek:0,isShowClear:false,isShowOK:false,isShowToday:false})"/>
			</div>
		</div>
		<div class="w_bai t_m10 dis_inline">
			<div class="f_l t_m8 l_m55">
				<span class="c_656565 l_m5">是否发布</span>
			</div>
			<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:5px">
				<input type="radio" name="issue" checked="checked" value="1" />是
				<input type="radio" name="issue" class="l_m20" value="2" />否
			</div>
		</div>
		<div class=" t_m30 dis_inline">
			<div class="f_l w_100">&nbsp;</div>
			<div class="f_l w_65 h_35 l_m25 l_h35 t_c c_FFF bc_E16400 point" onClick="bc({$cz['id']},{$cz['qid']})">
				保存
			</div>
			<div class="f_l w_65 h_35 l_m16 l_h35 t_c c_FFF bc_E16400 point" onClick="closeWindow()">
				取消
			</div>
		</div>
	</div>
	<script type="text/javascript">
		function closeWindow(){
			parent.closeWindow();
		}
	</script>
{/if}
</body>
</html>